package com.example.emos.api.db.dao;

import com.example.emos.api.db.pojo.TbExamEva;
import com.example.emos.api.db.pojo.TbExamEvaGroup;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author ：Supyo
 * @date ：Created in 2021/11/16 15:04
 * @description：
 */
@Mapper
public interface TbEvaluationDao {

    public ArrayList<HashMap> selectEvaluationGroup(java.util.HashMap param);

    public int insert(TbExamEvaGroup evaGroup);

    public int updateEvaluationGroup(HashMap param);

    public int deleteEvaluationGroup(Integer[] ids);

    public ArrayList<HashMap> selectEvaluationsBypages(java.util.HashMap param);

    public int addEvaluations(TbExamEva eva);

    public int updateEvaluations(HashMap param);

    public int deleteEvaluations(Integer[] ids);

    public int moveEvaluations(HashMap param);

    public ArrayList<HashMap> selectEvaluationsByGroupId(java.util.HashMap param);

    public int maxGroupId();

    public void updateCount(int groupId);

    public TbExamEva selectEvaluationById(Integer id);

    public int[] searchgrupId();

    public int updategroupId(int groupId);

    public long countEvaluations(HashMap param);
}
